<div class="col-sm-12 mt20">
  
  <div class="panel">
    <div class="panel-body">
      <div class="col-sm-12" style="font-size:15px">
        <label class="col-sm-3 control-label">机构名称 : 
          <strong class="ng-binding">{{userInfo.company_name}}</strong>
        </label>
        <label class="col-sm-2 control-label">机构编号 : 
          <strong class="ng-binding">{{userInfo.company_code}}</strong>
        </label>
        <label class="col-sm-2 control-label">销售总额 : 
          <strong class="ng-binding">{{userInfo.total_price * 0.01 | currency : '￥'}}</strong>
        </label>
        <label class="col-sm-2 control-label">可提现余额 : 
          <strong class="ng-binding">{{userInfo.balance_price * 0.01 | currency : '￥'}}</strong>
        </label>
      </div>
    </div>
  </div>

  <div class="panel">
    <!-- <div class="panel-body">
      <div class="col-sm-3">
        <ui-select ng-model="sea.code" theme="bootstrap">
          <ui-select-match placeholder="请选择机构编号">{{$select.selected.name}}</ui-select-match>
          <ui-select-choices repeat="item.code as item in company_list | filter: $select.search">
            <span ng-bind-html="item.name | highlight: $select.search"></span>
          </ui-select-choices>
        </ui-select>
      </div>
      <div class="col-sm-2">
        <button class="btn btn-info search btn-block" ng-click="loadList(1)">立即搜索</button>
      </div>
      <div class="col-sm-2">
        <button class="btn btn-danger search btn-block" ng-click="back()">返  回</button>
      </div>
    </div> -->

    <div class="panel-body">
      <table class="table table-striped table-bordered dataTable table-condensed tree_table">
        <thead>
          <tr>
            <th class="col-md-1 text-center">销售品名称</th>
            <th class="col-md-1 text-center">订单类型</th>
            <th class="col-md-1 text-center">盈利金额(元)</th>
            <th class="col-md-1 text-center">下单时间</th>
            <th class="col-md-1 text-center"></th>
          </tr>
        </thead>
        <tbody>
          <tr ng-repeat="info in list">
            <td class="text-center">{{info.sale_name}}</td>
            <td class="text-center">{{info.sale_type}}</td>
            <td class="text-center">{{info.price * 0.01}}</td>
            <td class="text-center">{{info.create_time}}</td>
            <td class="text-center">
              <button type="button" class="btn btn-info btn-xs" ng-click="detail(info)">分润明细</button>
            </td>
          </tr>
        </tbody>
      </table>
    </div>

    <div class="text-right" style="background-color: white; margin-right: 30px">
      <pagination total-items="totalItems" ng-model="currentPage" ng-change="loadList()" previous-text="上一页"
        next-text="下一页" first-text="首页" last-text="尾页" max-size="5" boundary-links="true" rotate="false"
        items-per-page="itemsPerPage" class="m-t-none m-b"></pagination>
    </div>

  </div>
</div>